package com.zrkj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author : 国良
 * @className : TUser
 * @package: com.wg.entity
 * @description :  实例类
 * @date :  2021-03-04
 */
@Getter
@Setter
@Accessors(chain = true)
@ToString
@TableName("t_user")
@ApiModel(value = "TUser", description = "")
public class TUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "")
    private String id;


    @TableField("user_name")
    @ApiModelProperty(value = "")
    private String userName;


    @TableField("pass_word")
    @ApiModelProperty(value = "")
    private String qaz;


    @TableField("real_name")
    @ApiModelProperty(value = "")
    private String realName;


    @TableField("role")
    @ApiModelProperty(value = "")
    private String role;


    @TableField("tel")
    @ApiModelProperty(value = "")
    private String tel;

    /**
     * 名称
     */
    @TableField("`name`")
    @ApiModelProperty(value = "名称")
    private String name;


    /**
     * 类型
     */
    @TableField("`type`")
    @ApiModelProperty(value = "类型")
    private String type;


    /**
     * 唯一标识
     */
    @TableField("`url`")
    @ApiModelProperty(value = "唯一标识")
    private String url;


    /**
     * 地址
     */
    @TableField("`addr`")
    @ApiModelProperty(value = "地址")
    private String addr;


    /**
     * 特征
     */
    @TableField("`tag`")
    @ApiModelProperty(value = "特征")
    private String tag;


    /**
     * 描述
     */
    @TableField("`desc`")
    @ApiModelProperty(value = "描述")
    private String desc;


    /**
     * 备注
     */
    @TableField("`remark`")
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 状态
     */
    @TableField("`status`")
    @ApiModelProperty(value = "状态")
    private Integer status;

    @TableField(exist = false)
    private String roleId;
}
